import { defHttp } from '@/utils/http/axios';

interface StampListItemType {
  id: number;
  createTime: string;
  updateTime: string;
  fullName: string;
  base: string;
  type: number;
  idNo: string;
}

enum Api {
  GetContractStampList = '/findSignatureSeal',
  DelContractStamp = '/deleteSignatureSeal',
}


export const getContractStampList = () => {
  return defHttp.post<StampListItemType[]>({ url: Api.GetContractStampList });
};

export const delContractStampApi = (id) => {
  return defHttp.delete({ url: Api.DelContractStamp + '?' + new URLSearchParams({ id }).toString() });
};
